<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>abs</title>
  </head>
  <body bgcolor="#FFFFFF">
    <center>Scilab Function</center>
    <div align="right">Last update : April 1993</div>
    <p>
      <b>abs</b> -   absolute value, magnitude</p>
    <h3>
      <font color="blue">Calling Sequence</font>
    </h3>
    <dl>
      <dd>
        <tt>t=abs(x)  </tt>
      </dd>
    </dl>
    <h3>
      <font color="blue">Parameters</font>
    </h3>
    <ul>
      <li>
        <tt>
          <b>x</b>
        </tt>: real or complex vector or matrix</li>
      <li>
        <tt>
          <b>t</b>
        </tt>: real vector or matrix</li>
    </ul>
    <h3>
      <font color="blue">Description</font>
    </h3>
    <p>
      <tt>
        <b>abs(x)</b>
      </tt> is the absolute value of the elements of <tt>
        <b>x</b>
      </tt>. When
    <tt>
        <b>x</b>
      </tt> is complex, <tt>
        <b>abs(x)</b>
      </tt> is the complex modulus (magnitude) of the elements of <tt>
        <b>x</b>
      </tt>.</p>
    <h3>
      <font color="blue">Examples</font>
    </h3>
    <pre>

abs([1,%i,-1,-%i,1+%i])
 
  </pre>
  </body>
</html>
